﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSJournalEntries" targetNamespace="http://tempuri.org/DSJournalEntries.xsd" xmlns:mstns="http://tempuri.org/DSJournalEntries.xsd" xmlns="http://tempuri.org/DSJournalEntries.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DSJournalEntries" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DSJournalEntries" msprop:Generator_UserDSName="DSJournalEntries">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Master" msprop:Generator_TableClassName="MasterDataTable" msprop:Generator_TableVarName="tableMaster" msprop:Generator_TablePropName="Master" msprop:Generator_RowDeletingName="MasterRowDeleting" msprop:Generator_UserTableName="Master" msprop:Generator_RowChangingName="MasterRowChanging" msprop:Generator_RowEvHandlerName="MasterRowChangeEventHandler" msprop:Generator_RowDeletedName="MasterRowDeleted" msprop:Generator_RowEvArgName="MasterRowChangeEvent" msprop:Generator_RowChangedName="MasterRowChanged" msprop:Generator_RowClassName="MasterRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Aggregator" msprop:Generator_ColumnVarNameInTable="columnAggregator" msprop:Generator_ColumnPropNameInRow="Aggregator" msprop:Generator_ColumnPropNameInTable="AggregatorColumn" msprop:Generator_UserColumnName="Aggregator" type="xs:string" />
              <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" type="xs:string" minOccurs="0" />
              <xs:element name="FromAmount" msprop:Generator_ColumnVarNameInTable="columnFromAmount" msprop:Generator_ColumnPropNameInRow="FromAmount" msprop:Generator_ColumnPropNameInTable="FromAmountColumn" msprop:Generator_UserColumnName="FromAmount" type="xs:double" minOccurs="0" />
              <xs:element name="ToAmount" msprop:Generator_ColumnVarNameInTable="columnToAmount" msprop:Generator_ColumnPropNameInRow="ToAmount" msprop:Generator_ColumnPropNameInTable="ToAmountColumn" msprop:Generator_UserColumnName="ToAmount" type="xs:double" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="JournalEntryDetail" msprop:Generator_TableClassName="JournalEntryDetailDataTable" msprop:Generator_TableVarName="tableJournalEntryDetail" msprop:Generator_TablePropName="JournalEntryDetail" msprop:Generator_RowDeletingName="JournalEntryDetailRowDeleting" msprop:Generator_UserTableName="JournalEntryDetail" msprop:Generator_RowChangingName="JournalEntryDetailRowChanging" msprop:Generator_RowEvHandlerName="JournalEntryDetailRowChangeEventHandler" msprop:Generator_RowDeletedName="JournalEntryDetailRowDeleted" msprop:Generator_RowEvArgName="JournalEntryDetailRowChangeEvent" msprop:Generator_RowChangedName="JournalEntryDetailRowChanged" msprop:Generator_RowClassName="JournalEntryDetailRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Aggregator" msprop:Generator_ColumnVarNameInTable="columnAggregator" msprop:Generator_ColumnPropNameInRow="Aggregator" msprop:Generator_ColumnPropNameInTable="AggregatorColumn" msprop:Generator_UserColumnName="Aggregator" type="xs:string" />
              <xs:element name="JournalNo" msprop:Generator_ColumnVarNameInTable="columnJournalNo" msprop:Generator_ColumnPropNameInRow="JournalNo" msprop:Generator_ColumnPropNameInTable="JournalNoColumn" msprop:Generator_UserColumnName="JournalNo" type="xs:string" />
              <xs:element name="Line" msprop:Generator_ColumnVarNameInTable="columnLine" msprop:Generator_ColumnPropNameInRow="Line" msprop:Generator_ColumnPropNameInTable="LineColumn" msprop:Generator_UserColumnName="Line" type="xs:int" />
              <xs:element name="Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnPropNameInTable="TypeColumn" msprop:Generator_UserColumnName="Type" type="xs:string" minOccurs="0" />
              <xs:element name="Code" msprop:Generator_ColumnVarNameInTable="columnCode" msprop:Generator_ColumnPropNameInRow="Code" msprop:Generator_ColumnPropNameInTable="CodeColumn" msprop:Generator_UserColumnName="Code" type="xs:string" minOccurs="0" />
              <xs:element name="PostingDate" msprop:Generator_ColumnVarNameInTable="columnPostingDate" msprop:Generator_ColumnPropNameInRow="PostingDate" msprop:Generator_ColumnPropNameInTable="PostingDateColumn" msprop:Generator_UserColumnName="PostingDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="DocumentNo" msprop:Generator_ColumnVarNameInTable="columnDocumentNo" msprop:Generator_ColumnPropNameInRow="DocumentNo" msprop:Generator_ColumnPropNameInTable="DocumentNoColumn" msprop:Generator_UserColumnName="DocumentNo" type="xs:string" minOccurs="0" />
              <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" type="xs:string" minOccurs="0" />
              <xs:element name="FromAmount" msprop:Generator_ColumnVarNameInTable="columnFromAmount" msprop:Generator_ColumnPropNameInRow="FromAmount" msprop:Generator_ColumnPropNameInTable="FromAmountColumn" msprop:Generator_UserColumnName="FromAmount" type="xs:double" minOccurs="0" />
              <xs:element name="ToAmount" msprop:Generator_ColumnVarNameInTable="columnToAmount" msprop:Generator_ColumnPropNameInRow="ToAmount" msprop:Generator_ColumnPropNameInTable="ToAmountColumn" msprop:Generator_UserColumnName="ToAmount" type="xs:double" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Master" />
      <xs:field xpath="mstns:Aggregator" />
    </xs:unique>
    <xs:unique name="JournalEntryDetail_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:JournalEntryDetail" />
      <xs:field xpath="mstns:Aggregator" />
      <xs:field xpath="mstns:JournalNo" />
      <xs:field xpath="mstns:Line" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="PL_JournalEntryDetail_Master" msdata:parent="JournalEntryDetail" msdata:child="Master" msdata:parentkey="Aggregator" msdata:childkey="Aggregator" msprop:Generator_UserChildTable="Master" msprop:Generator_ChildPropName="GetMasterRows" msprop:Generator_ParentPropName="JournalEntryDetailRow" msprop:Generator_UserRelationName="PL_JournalEntryDetail_Master" msprop:Generator_RelationVarName="relationPL_JournalEntryDetail_Master" msprop:Generator_UserParentTable="JournalEntryDetail" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>